<template>
<div class="container">
  <router-view name="router-view-header"/>
  <router-view v-slot="{Component,route}">
    <transition mode="out-in" enter-active-class="animate__animated animate__bounceIn" leave-active-class="animate__animated animate__bounceOut">
      <keep-alive>
        <component :is="Component"/>
      </keep-alive>
    </transition>
  </router-view>
  
  <router-view name="router-view-footer"/>
</div> 
</template>
<script setup>
import Header from "@/components/Header"
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
.container{
  height:1200px;
}
</style>
